package gui;

import java.awt.Component;

import javax.swing.JPanel;


public class GUIEditor {
	
	
	
	
	
	
	
	
	public static void disablePanel(JPanel panel){
		for(Component c : panel.getComponents()) {
			c.setEnabled(false);

		}
	}
	
	public static void enablePanel(JPanel panel) {
		for(Component c : panel.getComponents()) {
			c.setEnabled(true);
		}
	}
	
	
}